﻿namespace ConsoleApplication1
{
    using System;
    using System.Xml.Serialization;

    public class Class1
    {
        //[XmlAttribute(AttributeName = "schemaLocation", Namespace = "http://www.w3.org/2001/XMLSchema-instance")] 
        //public string XsiSchemaLocation = "http://xml.is.estg.org/schema/DataSchema DataSchema.xsd";

        [XmlElement(ElementName = "Id", Order = 0)]
        public int Id { get; set; }
        [XmlElement(ElementName = "Description", Order = 1)]
        public string Dsc { get; set; }

        public virtual void Print()
        {
            Console.WriteLine("{0} - {1}", Id, Dsc);
        }
    }
}